package com.tianxiang.model;

public class Owner {
	
	private int id;
	private String username;
	private String ofileName;
	private String ouserPath;
	private String ofilePath;
	private String lastModify;
	private long keepTime=864000;	//文件删除的时间默认10天即864000秒
	private int isAlive=0;		//文件是否被删除了,0表示文件未删除，1表示文件删除至回收站
	private long delTime=-1;		//文件删除的时间
	private int fileId;
	
	public String getOuserPath() {
		return ouserPath;
	}
	public void setOuserPath(String ouserPath) {
		this.ouserPath = ouserPath;
	}
	public String getOfileName() {
		return ofileName;
	}
	public void setOfileName(String ofileName) {
		this.ofileName = ofileName;
	}
	public String getOfilePath() {
		return ofilePath;
	}
	public void setOfilePath(String ofilePath) {
		this.ofilePath = ofilePath;
	}
	public long getKeepTime() {
		return keepTime;
	}
	public void setKeepTime(long keepTime) {
		this.keepTime = keepTime;
	}
	
	public int getFileId() {
		return fileId;
	}
	public void setFileId(int fileId) {
		this.fileId = fileId;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getLastModify() {
		return lastModify;
	}
	public void setLastModify(String lastModify) {
		this.lastModify = lastModify;
	}
	
	public int getIsAlive() {
		return isAlive;
	}
	public void setIsAlive(int isAlive) {
		this.isAlive = isAlive;
	}
	
	public long getDelTime() {
		return delTime;
	}
	public void setDelTime(long delTime) {
		this.delTime = delTime;
	}
	@Override
	public String toString() {
		return "Owner [id=" + id + ", username=" + username + ", ofileName="
				+ ofileName + ", ouserPath=" + ouserPath + ", ofilePath="
				+ ofilePath + ", lastModify=" + lastModify + ", keepTime="
				+ keepTime + ", isAlive=" + isAlive + ", fileId=" + fileId
				+ "]";
	}

	
}
